package com.lagou.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 控制器
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

        @RequestMapping("/test")
        public String test() {
            return "hello";
        }

}
